package com.nulldev.util.web.YouTubeExtractor;

import com.nulldev.util.manage.MarkedForRemoval;

@Deprecated
@MarkedForRemoval(reason = "Replaced with the newer options API in 2.2.", plannedRemovalWhen = "2.2.10 or 2.3")
public enum YoutubeExtractionOptions {

	/*
	 * Removed options: FORCE_LEGACY_SIGNATURE_EXTRACTION - Cipher v6/v8 caused this
	 * feature to be not implemented. ENFORCE_HTTP_FALLBACK - YouTube now forces
	 * HTTPS also it's better for "security sakes".
	 */

	ENFORCE_ENGLISH_YOUTUBE,
	/**
	 * This option is no longer managed by the extractor. <br>
	 * Planned Removal: nTube-1.6 (or 1.7)/YouTubeExtractor >2.4
	 */
	@Deprecated
	DISABLE_SOFTWARE_DECIPHERER,
	DISABLE_SEPERATE_STREAMS,
	ENFORCE_PROXY_CONNECTION,
	ENFORCE_PRIVACY_MODE,
	SEND_FAKE_COOKIE_DATA,
	EMULATE_INSECURE_PROXY,
	ADD_CONTROVERSY_BYPASS,
	/**
	 * This option seems have been removed by YouTube. RIP. It was a neat shortcut.
	 * <br>
	 * EDIT July 2019: It seems to have returned on some videos. Planned removal
	 * moved back to 1.7-1.9. EDIT Sept 2019: The feature has become mainstream,
	 * this option is now deprecated. Planned Removal: nTube-1.7 (or
	 * 1.8)/YouTubeExtractor >2.5
	 */
	@Deprecated
	PREFER_JSON_MODEL_VIDEO_EXTRACTION,
	DEBUG_PRINT_API_RESPONSE,
	DEBUG_PRINT_FULL_RESPONSE,
	DEBUG_PRINT_ERRORS,
	ENABLE_POLTICIAL_PANDERING, /*
								 * also known as ENABLE_FACT_CHECKING_SCRAPING
								 */
	ALLOW_LATE_EXTRACTIONS,
	SPOOF_INCLUDE_VERIFIED,
	NO_FALLBACK,
	DISABLE_SEND_CONSENT_COOKIE,
	ENABLE_UPCOMING_FEATURES,
	/**
	 * Enabled by default in nTube. TODO: Set this to opt-out only in the future.
	 */
	SEND_X_GOOG_API_KEY,
	SEND_OAUTH_KEY,
}
